﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ragipo
{
    /// <summary>
    /// Class Venue
    /// </summary>
    public class Venue
    {
        #region Champs
        /// <summary>
        /// Donne l'ID.
        /// </summary>
        private string _id = "Inconnu";


        /// <summary>
        /// Donne le nom.
        /// </summary>
        private string _name = "Inconnu";

        /// <summary>
        /// Donne le lien uri de l'image
        /// </summary>
        private string _picture = "Inconnu";

        /// <summary>
        /// Donne le lien du site Web
        /// </summary>
        private string _link = "Inconnu";

        /// <summary>
        /// Donne le numéro de téléphone
        /// </summary>
        private string _tel = "Inconnu";


        /// <summary>
        /// associe un lieu à une localisation
        /// </summary>
        private Location _uneLocation;
        #endregion

        #region Constructeurs

        /// <param name="id">Donne l'ID</param>
        /// <param name="name">Donne le nom</param>
        /// <param name="picture">Donne le lien de l'image</param>
        /// <param name="tel">Donne le téléphone</param>
        /// <param name="link">Donne le lien web.</param>
        public Venue(string id, string name, string picture, string tel, string link, Location uneLocation)
        {
            this.id = id;
            this.name = name;
            this.picture = picture;
            this.tel = tel;
            this.link = link;
            this.uneLocation = uneLocation;
        }


        public Venue()
        {
            
        }
        public Venue(string name, string link, Location uneLocation)
        {
            this.name = name;
            this.link = link;
            this.uneLocation = uneLocation;
        }
        public Venue(string id, string name)
        {
            this.id = id;
            this.name = name;
        }


        #endregion

        #region Propriétés



        public string id
        {
            get { return _id; }
            private set { _id = value; }

        }


        

        public string name
        {
            get { return _name; }
           private set { _name = value; }
        }

    
        public string picture
        {
            get { return _picture; }
           private set { _picture = value; }
        }

 

        public string link
        {
            get { return _link; }
           private set { _link = value; }
        }

       

        public string tel
        {
            get { return _tel; }
            set { _tel = value; }
        }

        public Location uneLocation
        {
            get { return _uneLocation; }
            private set { _uneLocation = value; }
        }
        
        








        #endregion

        public void getEvents()
        {
            
        }

    }

}
